package interfacetest;

public interface Demo {//接口
    public void  a();

}
 class  A implements  Demo{//Demo接口的实现类

    public static void main(String[] args) {
        Demo d = new A();
    }
    public  void a (){

    }
}